package com.edu.eduservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName EduApplication
 * @date 2022/9/12 22:24
 * @Version 1.0
 */
@EnableFeignClients //开启openfeign
@EnableDiscoveryClient //开启nacos
@SpringBootApplication
@ComponentScan(basePackages = "com.edu")
public class EduApplication {

    //启动类
    public static void main(String[] args) {
        SpringApplication.run(EduApplication.class,args);
    }
}
